﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication2.Model
{
    //项目模型
    public class ProjectInfo
    {

        private string _id;
        private string _newID;
        private string _name;//项目名
        private string _chargeMan;//项目负责人
        private string _userArea;//项目使用区域
        private DateTime _inputTime;//项目引入时间
        private DateTime _finishTime;//项目完成时间
        private int _budget;//项目预算
        private int _realBudge;//OA实际报批预算
        private int _value;//项目产值
        private string _mCharge;//机械负责人
        private string _mDesign;////机械设计
        private string _echarge;//电气负责人
        private string _eDesign;//电气设计
        private int _status;//项目状态
        private int _caps;//资本化
        private int _lessBudget;//剩余预算
        private int _proType;//项目的类型
        //关系型数据库不支持一对N的关系，所以当负责人和设计者有多个人时只输一个人就够了
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
      

        public string ChargeMan
        {
            get { return _chargeMan; }
            set { _chargeMan = value; }
        }
      

        public string UserArea
        {
            get { return _userArea; }
            set { _userArea = value; }
        }
       

        public DateTime InputTime
        {
            get { return _inputTime; }
            set { _inputTime = value; }
        }
      

        public DateTime FinishTime
        {
            get { return _finishTime; }
            set { _finishTime = value; }
        }
       

        public int Budget
        {
            get { return _budget; }
            set { _budget = value; }
        }
       

        public int RealBudge
        {
            get { return _realBudge; }
            set { _realBudge = value; }
        }
      

        public int Value
        {
            get { return _value; }
            set { _value = value; }
        }
      

        public string MCharge
        {
            get { return _mCharge; }
            set { _mCharge = value; }
        }
      

        public string MDesign
        {
            get { return _mDesign; }
            set { _mDesign = value; }
        }
       

        public string Echarge
        {
            get { return _echarge; }
            set { _echarge = value; }
        }
       

        public string EDesign
        {
            get { return _eDesign; }
            set { _eDesign = value; }
        }

        public string Id { get => _id; set => _id = value; }
        public int Status { get => _status; set => _status = value; }
        public int Caps { get => _caps; set => _caps = value; }
        public int LessBudget { get => _lessBudget; set => _lessBudget = value; }
        public int ProType { get => _proType; set => _proType = value; }
        public string NewID { get => _newID; set => _newID = value; }
    }
}